home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
emula
/
fs154105.lha
/
FS1541
/
packet.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
665b
|
37 lines
/*
FS1541
packet.h
*/
void DoPackets(void);
#define CTOB(x) (BPTR)(((long)(x))>>2)
#define BTOC(x) (APTR)(((long)(x))<<2)
extern int inhibited;
/* This structure is used both as the one stored in fh_Arg1 of our
filehandles as well as for passing around data about files internally. */
struct FHArg1 {
BPTR lock;
ULONG len;
ULONG pos;
UBYTE t,s,p;
UBYTE t0,s0;
UBYTE number;
UWORD numblocks;
};
#define FLKEY_SPECIALMASK 0xf0000
#define FLKEY_DOLLAR 0x10000
#define VIRTUAL_FILE_DOLLAR "$"
#define FLKEY_D64 0x20000
#define VIRTUAL_FILE_D64 "$d64"
#define FLKEY_DISKINFO 0x30000
#define VIRTUAL_FILE_DISKINFO "Disk.info"
#define NUM_VIRTUAL 255